package cn.com.smartenergyplatform.account.utils.core.dto;

/**
 * 作者: wx
 * 创建时间: 2025/3/25 10:51 星期二
 * 备注: 微信支付urlAPI
 */
public class WeChatUrlDTO {

    /**
     * oauth2 鉴权URL
     */
    public static final String OAUTH2_URL = "https://api.weixin.qq.com/sns/oauth2/access_token";

    /**
     * APP支付URL(外部APP调用接口)
     */
    public static final String APP_PAY_URL = "https://api.mch.weixin.qq.com/v3/pay/transactions/app";

    /**
     * H5支付URL
     */
    public static final String H5_PAY_URL = "https://api.mch.weixin.qq.com/v3/pay/transactions/h5";

    /**
     * native支付URL
     */
    public static final String NATIVE_PAY_URL = "https://api.mch.weixin.qq.com/v3/pay/transactions/native";

    /**
     * jsAPI发起支付URL
     */
    public static final String JSAPI_PAY_URL = "https://api.mch.weixin.qq.com/v3/pay/transactions/jsapi";

    /**
     * 订单退款URL
     */
    public static final String ORDER_REFUNDS_URL = "https://api.mch.weixin.qq.com/v3/refund/domestic/refunds";

    /**
     * 微信支付订单号查询订单
     */
    public static final String WECHAT_ORDER_QUERY_URL = "https://api.mch.weixin.qq.com/v3/pay/transactions/id/";

    /**
     * 商户订单号查询订单
     */
    public static final String COMMERCE_ORDER_QUERY_URL = "https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/";

    /**
     * 查询单笔退款（通过商户退款单号）
     */
    public static final String COMMERCE_REFUNDS_QUERY_URL = "https://api.mch.weixin.qq.com/v3/refund/domestic/refunds/";

    /**
     * 申请交易账单
     */
    public static final String TRADE_BILL_URL = "https://api.mch.weixin.qq.com/v3/bill/tradebill/";

    /**
     * 申请资金账单
     */
    public static final String FUND_FLOW_BILL_URL = "https://api.mch.weixin.qq.com/v3/bill/fundflowbill/";

    /**
     * 发起转账
     */
    public static final String TRANSFER_BILL_URL = "https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills/";

    /**
     * 微信单号查询转账单
     */
    public static final String WECHAT_QUERY_TRANSFER_BILL_URL = "https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills/transfer-bill-no/";

    /**
     * 商户单号查询转账单
     */
    public static final String COMMERCE_QUERY_TRANSFER_BILL_URL = "https://api.mch.weixin.qq.com/v3/fund-app/mch-transfer/transfer-bills/out-bill-no/";

}
